/* normalize css */
@charset "utf-8";

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0; 
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}






/* common css */
*{ box-sizing: border-box; }

html { font-size: 10px; }

body {
  max-width: 640px;
  min-width: 320px;
  margin: 0 auto;
  font-family: "Segoe UI","Lucida Grande",Helvetica,Arial,"Microsoft YaHei",FreeSans,Arimo,"Droid Sans",
  "wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3",FontAwesome,sans-serif;
  color: #333;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  background-color: #fdfdfd;
}






/* default input style */
input[type="number"], input[type="text"], input[type="search"], input[type="password"], input[type="email"],
textarea {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: .6rem .8rem;
  outline: none;
}

input[type="number"]:focus, input[type="text"]:focus, input[type="search"]:focus, input[type="password"]:focus,
input[type="email"]:focus, textarea:focus {
  border-color: #3BB4F2;
  -webkit-box-shadow: 0 0 5px #3BB4F2;
  box-shadow: 0 0 5px #3BB4F2;
}

input[type="number"]::-webkit-input-placeholder, input[type="text"]::-webkit-input-placeholder,
input[type="search"]::-webkit-input-placeholder, input[type="password"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #ccc;
  font-size: 1.5rem;
}






/* often use button style */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 1.6rem;
  text-align: center;
  color: #fdfdfd;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -webkit-transition: background-color 300ms ease-out, border-color 300ms ease-out;
  transition: background-color 300ms ease-out, border-color 300ms ease-out;
}

.btn-disable {
  background-color: #888;
}

/* #d33206 */
.btn-d33206 {
  background-color: #d33206;
}

.btn-d33206:hover, .btn-#d33206:active, .btn-#d33206:focus {
  background-color: #BD350A;
}

/* #3BB4F2 */
.btn-3bb4f2 {
  background-color: #3bb4f2;
}

.btn-3bb4f2:hover, .btn-#3bb4f2:active, .btn-#3bb4f2:focus {
  background-color: #30A3DE;
}




/* img default style */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}



